package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("hm_questions")
public class Questions {
    //编号
    private Integer id;
    //试题编号
    private String number;
    //学科id
    @TableField(value ="subjectID")
    private Integer subjectID;
    //目录id
    @TableField(value ="catalogID")
    private Integer catalogID;
    //企业id
    @TableField(value ="enterpriseID")
    private Integer enterpriseID;
    //省份
    private String province;
    //城市
    private String city;
    //方向
    private String direction;
    //题型
    @TableField(value ="questionType")
    private String questionType;
    //难度
    private String difficulty;
    //题干
    private String question;
    //解析视频
    @TableField(value ="videoURL")
    private String videoURL;
    //答案解析
    private String answer;
    //题目备注
    private String remarks;
    //试题标签
    private String tags;
    //精选题
    @TableField(value ="isChoice")
    private Integer isChoice;
    //发布状态
    @TableField(value ="publishState")
    private Integer publishState;
    //发布时间
    @TableField(value ="publishDate")
    private LocalDateTime publishDate;
    //筛选状态
    @TableField(value ="chkState")
    private Integer chkState;
    //审核人
    @TableField(value ="chkUserID")
    private Integer chkUserID;
    //审核意见
    @TableField(value ="chkRemarks")
    private String chkRemarks;
    //审核日期
    @TableField(value ="chkDate")
    private LocalDateTime chkDate;
    //创建人id
    @TableField(value ="creatorID")
    private Integer creatorID;
    //创建日期
    @TableField(value = "addDate")
    private LocalDateTime addDate;
    @TableField(exist = false)
    private String catalog;//目录
    @TableField(exist = false)
    private String creator;//录入人
    @TableField(exist = false)
    private String enterprise;//企业简称
    @TableField(exist = false)
    private String subject; //学科名称
    @TableField(exist = false)
    private String chkUser; //用户名
}

